# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=wireless-regdb
pkgver=2024.07.04
pkgrel=0
pkgdesc="Central Regulatory Domain Database"
url="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
arch="noarch"
license="ISC"
subpackages="$pkgname-doc"
options="!check"
source="https://mirrors.edge.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-$pkgver.tar.xz"

package() {
	install -D -m644 -t "$pkgdir"/usr/share/man/man5 ./*.5
	install -D -m644 -t "$pkgdir"/usr/lib/crda regulatory.bin
	install -D -m644 -t "$pkgdir"/lib/firmware regulatory.db regulatory.db.p7s
}

sha512sums="
746c1461bc807e8ca93746396a627963c842338a1963e3e517d671f3668ec79f50e6683ede93c181f7bef95c6b1417701cebecb6863efdc6f8783d65f8950647  wireless-regdb-2024.07.04.tar.xz
"
